package com.example.educationsystem.service;

import com.example.educationsystem.pojo.User;
import com.example.educationsystem.utils.LoginVo;
import com.example.educationsystem.utils.ResultVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Bean;

import java.util.List;


public interface UserService {

    List<User> getUSers();

    ResultVO CheckLogin(LoginVo loginVo);

    ResultVO login(String username,String password);


    List<User> getUserByUserFamily(@Param("userFamily") Integer userFamily);

    int updateuser(@Param("userId1") Integer userId,@Param("userCall") String userCall,@Param("userName") String userName,@Param("userAge1") Integer userAge);
    int deleteuser(@Param("userId1") Integer userId);



}
